let x = null
// 以前的写法
if (x !== '' && x !== null && x !== undefined) {
  console.log('x is not nullish')
};
//简便的写法
if (!!x){
    console.log('x is not nullish')
  }else{
    console.log(` x not is " " unll undefind` );
  }